package com.zp.base.service.examMaintenance;

import com.zp.base.api.vo.ExamTypeVo;
import com.zp.base.entity.examMaintenance.bo.ExamTypeBo;
import com.zp.common.myBatis.core.page.PageQuery;
import com.zp.common.myBatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 检查项目类型exam_typeService接口
 *
 * @author zhang peng
 * @ date 2023-05-25
 */
public interface IExamTypeService {

    /**
     * 查询检查项目类型exam_type
     */
    ExamTypeVo queryById (String examTypeId);

    /**
     * @param pageQuery
     * @return
     * @Author zhangpeng
     * @Description // 查询检查项目类型exam_type列表(分页)
     * @ date 9:32 2023/5/25
     * @Param bo
     **/
    TableDataInfo<ExamTypeVo> queryPageList (ExamTypeBo bo, PageQuery pageQuery);

    /**
     * 查询检查项目类型exam_type列表(不分页)
     */
    List<ExamTypeVo> queryList (ExamTypeBo bo);

    /**
     * 修改检查项目类型exam_type
     */
    Boolean insertByBo (ExamTypeBo bo);

    /**
     * 修改检查项目类型exam_type
     */
    Boolean updateByBo (ExamTypeBo bo);

    /**
     * 校验并批量删除检查项目类型exam_type信息
     */
    Boolean deleteWithValidByIds (Collection<String> ids, Boolean isValid);


    /**
     * 刷新检查类型缓存
     */
    void refreshCache();

}
